package org.example.MementoPattern;

/**
 * 纪念品
 */
public class Memento {
   /**
    * 状态
    */
   private String state;
 
   public Memento(String state){
      this.state = state;
   }
 
   public String getState(){
      return state;
   }  
}